using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace InventaListen
{
    public partial class InvBuecher : Form
    {
        public InvBuecher()
        {
            InitializeComponent();

            dtgrdvwBuecher.Rows.Add(new String[] { 
                "Generative Software-Entwicklung mit der Model Driven Architecture", 
                "MDA - Model Driven Architecture", 
                "MDA - Model Driven Architecture", 
                "Prof. Dr. Klaus Zeppenfeld", 
                "3827415551", 
                "12" });

            dtgrdvwBuecher.Rows.Add(new String[] { 
                "Programmieren mit C#", 
                "C# .NET", 
                "C# .NET", 
                "Jesse Liberty",  
                "3897214156", 
                "14" });

            dtgrdvwBuecher.Rows.Add(new String[] { 
                "Microsoft ASP.NET 2.0 mit Visual C# 2005 - Das Entwicklerbuch", 
                "ASP und C#", 
                "ASP und C#", 
                "Holger Schwichtenberg ", 
                "3860635468", 
                "4" });

            dtgrdvwBuecherDetails.Rows.Add(new String[] { 
                "Microsoft ASP.NET 2.0 mit Visual C# 2005 - Das Entwicklerbuch", 
                "ASP und C#", 
                "Adam, Ableman", 
                "Raum 31a", 
                });

            dtgrdvwReservierungen.Rows.Add(new String[] {  
                "Adam, Ableman", 
                "Raum 31a", 
                "21.12.2006 18:00"
                });
        }

        private void bttnAbbrechen_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void bttnExemplarAnlegen_Click(object sender, EventArgs e)
        {
            dtgrdvwBuecherDetails.Rows.Add(new String[] { 
                "Microsoft ASP.NET 2.0 mit Visual C# 2005 - Das Entwicklerbuch", 
                "ASP und C#", 
                "Dave, Elliott", 
                "Raum 31a", 
                });
        }

        private void bttnExemplarHistorie_Click(object sender, EventArgs e)
        {
            new InvHistorie().ShowDialog();
        }

        private void bttnNeu_Click(object sender, EventArgs e)
        {
            new InventaErfassung.InvBuch().ShowDialog();
        }
    }
}